const pms = () => import('@/views/pms/index.vue');
const pmsList = () => import('@/views/pms/product/index.vue');
const pmsType = () => import('@/views/pms/productType/index.vue');
const pmsAttribute = () => import('@/views/pms/productAttribute/index.vue');
export const pmsRouter = [
    {
        path: '/pms',
        name: 'pms',
        component: pms,
        redirect: '/pms/list',
        children: [
            {
                path: '/pms/list',
                name: 'pmsList',
                component: pmsList,
                meta: {
                    menuOpen: '/pms',
                    menuSel: '/pms/list'
                },
            },
            {
                path: '/pms/type',
                name: 'pmsType',
                component: pmsType,
                meta: {
                    menuOpen: '/pms',
                    menuSel: '/pms/type'
                },
            },
            {
                path: '/pms/attribute',
                name: 'pmsAttribute',
                component: pmsAttribute,
                meta: {
                    menuOpen: '/pms',
                    menuSel: '/pms/attribute'
                },
            },

        ]
    }
];
export default pmsRouter;
